package com.zzgele.qmzb.api.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.zzgele.qmzb.api.core.AbstractService;
import com.zzgele.qmzb.api.dao.UserVMapper;
import com.zzgele.qmzb.api.model.UserV;
import com.zzgele.qmzb.api.service.UserVService;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.HashMap;

/**
 * Created by cyoung on 2017/10/25.
 */
@Service(interfaceClass = UserVService.class,proxy="jdk")
@Component
@Transactional
public class UserVServiceImpl extends AbstractService<UserV> implements UserVService {

    @Resource
    private UserVMapper userVMapper;
    @Override
    public HashMap getMyInfo(Long login_uid) {
        return userVMapper.getMyInfo(login_uid);
    }
    @Override
    public HashMap getMyVInfo(Long login_uid) {
        return userVMapper.getMyVInfo(login_uid);
    }
}
